package com.ttjj.enums;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 地图元素
 */
public enum EnumBlockType {
    Ground(0),
    Mud(1),
    Rock(2),
    Tree(3),
    Waste(4),
    River(5),
    FarmHouse(6),
    ChickenHouse(7),
    RabbitHouse(8),
    PigHouse(9),
    CattleHouse(10);

    private int value;

    EnumBlockType(int value) {
        this.value = value;
    }


    @JSONField(
        serialize = false
    )
    public int get() {
        return this.value;
    }
}
